Skip to content
This repository was archived by the owner on Oct 11, 2026. It is now read-only.

test: scope tailwind class scanning - #17

Merged
KyleJune merged 1 commit into
mainfrom
codex/tailwind-test-scan-root
Oct 2, 2026
Merged

KyleJune merged 1 commit into
mainfrom
codex/tailwind-test-scan-root

Conversation

@KyleJune

@KyleJune KyleJune commented Oct 2, 2026

Copy link
Copy Markdown
Member

Why

The Tailwind 4 build test scans the package directory by default. Adding the release-note word isolate changes its generated CSS and breaks the fixture comparison. Scope class discovery to the fixture directory and capture its complete CSS with the existing snapshot mechanism.

Production plugin code and example files are unchanged. Output errors, warnings, path and count still have explicit assertions.

Verification

  • Released main reproduced the failure: 6 tests/28 steps passed; the Tailwind 4 case failed.
  • Removing only the explicit scan base also fails the new CSS snapshot; 6 tests/28 steps still pass.
  • Restored final deno task check passed; deno task test --parallel --reporter=dot passed 7 tests/30 steps, zero failures (2s), inside the parent checkout.
  • Final pinned reviews cover correctness, security, coverage and source accuracy.

Risk

Door: two-way test change. The snapshot checks the entire fixture-generated CSS and normal test runs do not rewrite it. No production behavior changes.

Closes

Nothing. Refs udibo/udibo#1676; the parent dependency PR records integration separately.

@KyleJune
KyleJune marked this pull request as ready for review October 2, 2026 04:48
@KyleJune
KyleJune merged commit d42c36c into main Oct 2, 2026
8 checks passed
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 0.4.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant